package com.synesthesiaconsulting.gwt.resources.client;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Created by IntelliJ IDEA.
 * User: ageer
 * Date: Jul 26, 2008
 * Time: 12:44:17 PM
 * To change this template use File | Settings | File Templates.
 */
public class MsgObjBundle implements IsSerializable {
    private IsSerializable obj;
    private String msg;

    public MsgObjBundle() {
        msg = "";
    }
    public MsgObjBundle(String msg) {
        this.msg = msg;
    }

    public MsgObjBundle(IsSerializable obj) {
        this.obj = obj;
        msg = "";
    }

    public MsgObjBundle(IsSerializable obj, String msg) {
        this.obj = obj;
        this.msg = msg;
    }

    public IsSerializable getObj() {
        return obj;
    }

    public void setObj(IsSerializable obj) {
        this.obj = obj;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
